package com.pwser.controller;

import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/log")
public class LogController {
	
	private static Logger logger = Logger.getLogger(LogController.class);

	@RequestMapping("/index")
	public String index(String name) {
		logger.info("########参数name值为："+name+"########");
		return "log is success";
	}
	
}
